From: River Tarnell Date: Thu, 10 May 2007 19:29:21 +0000 (+0000) Subject: PHP Fatal error: Call to undefined function request() in /usr/local/apache/common... X-Git-Tag: 1.31.0-rc.0~52968 X-Git-Url: http://git.cyclocoop.org/%7D%7Cconcat%7B?a=commitdiff_plain;h=ec38363086cd97cefe098ee19579df67e31f3521;p=lhc%2Fweb%2Fwiklou.git PHP Fatal error: Call to undefined function request() in /usr/local/apache/common-local/php-1.5/includes/HttpFunctions.php on line 8 need to qualify function with class name --- diff --git a/includes/HttpFunctions.php b/includes/HttpFunctions.php index e14484eba1..16a6348252 100644 --- a/includes/HttpFunctions.php +++ b/includes/HttpFunctions.php @@ -5,11 +5,11 @@ */ class Http { static function get( $url, $timeout = 'default' ) { - return request( "GET", $url, $timeout ); + return Http::request( "GET", $url, $timeout ); } static function post( $url, $timeout = 'default' ) { - return request( "POST", $url, $timeout ); + return Http::request( "POST", $url, $timeout ); } /**